package cn.tedu;

import java.util.Arrays;

public class dou3 {
    public static void main(String[] args) {
        man();
        man1();
    }

    private static void man1() {
        String [] a = {"杨幂","baby","皮皮虾"};
        System.out.println(a);
        String res =Arrays.toString(a);
        System.out.println(res);
        int [] b = {5,8,6,4,3};
        Arrays.sort(b);
        int i = 0 ;
        for(i = 0 ; i < b.length ; i++) {
            System.out.print(b[i]);
        }
    }

    public static void man() {
        int [] a = new int[5];
        System.out.println(a.length);
        System.out.println(a);
        a[0] = 10;
        System.out.println(a[0]);

        int [] b = new int[5];
        int i = 0 ;
        for(i = 0 ; i < b.length ; i++){
            System.out.println(b[i]);
        }


    }

}
